package de.herberlin.pss;

import java.io.File;

import org.apache.log4j.Logger;

import de.herberlin.pss.ui.Frame;

/**
 * Main Class starts the application
 * @author Hans Joachim Herbertz
 * @created 26.08.2008
 */
public class Main {
	public static void main(String[] args) {
		try {
			System.loadLibrary("sqlite_jni");
		} catch (Throwable e) {
			Logger.getLogger(Main.class).error("Native Libraries not found: Path="+System.getProperty("java.library.path"),e);
			Frame.showMessage("Native Libraries not found! Please start the application using: java -Djava.library.path=./lib -jar pss.jar",e);
			System.exit(1);
		}
		new Frame();
	}
}
